package net.luoran.dvm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import net.luoran.dvm.common.base.BaseEntity;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author ：M1nG
 * @date ：Created in 2020/11/11 22:08
 * @description：
 * @version: 1.0
 */
@TableName("sys_auth_token")
@Data
public class SysAuthTokenDO extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer Id;

    @TableField("account_group_id")
    private String accountGroupId;

    @TableField("token")
    private String token;

    @TableField("expire_time")
    private LocalDateTime expireTime;

    @TableField(value = "user_id")
    private Integer userId;

}
